﻿using System.Threading.Tasks;
using DotnetCore.Extension.DependencyInjection;

namespace MQTT.Server.App
{
    public interface IServerManager : ITransientDependency
    {

        ServerManager Init();
        Task StartAsync();

        Task StopAsync();

        void SendMsg(string topic, string msg);
    }
}
